import { createI18n } from "vue-i18n";
import english from "./language/en";
import chinese from "./language/zh-cn";

const i18n = createI18n({
    legacy: false,
    locale: 'zh-cn',
    fallbackLocale: 'zh-cn',
    messages: {
        'en': english,
        'zh-cn': chinese
    }
})
export default i18n